package com.wang.myapplication.tools;

import android.text.Editable;

/**
 * Created by xhwang on 2018/3/19.
 */

public class StringTool {
    public static boolean isInputValid(Editable pText) {
        if (pText==null)
            return false;
        if (pText.length()==0)
            return false;
        if (pText.toString().equals(""))
            return false;
        if (removeSpace(pText.toString()).equals(""))
            return false;
        return true;
    }

    private static String removeSpace(String pString) {

        return pString;
    }
}
